<nz-spin [nzSpinning]="isSpinning" [nzTip]="'正在初始化模块信息...'">
  <div class="table-operations" style="margin: 16px 0;padding: 0 2%">
    <button (click)="addFeedback()" style="background:  #ef4954;color: #fff;" nz-button *ngIf="usertype==2||usertype==3||usertype==1">
      <i class="anticon anticon-plus"></i>
      <span>新增</span>
    </button>
    <button nz-button (click)="getEntityList()" [nzLoading]="loadingData" *ngIf="usertype==2||usertype==3||usertype==1">
      <i class="anticon anticon-reload"></i>
      <span>刷新</span>
    </button>
  </div>
  <section class="in-index">
   <!-- <div class="table-bg" style="padding-top: 15px;height: 60px;width: 100%;display:flex;align-items: center;justify-content: flex-start;width: 96% !important;margin: 0 auto;border-radius:4px !important;padding-left: 16px !important;">
      <nz-input-group style="float: right;width: 200px;" (keydown)="classsearchinput($event)" nzSuffixIcon="anticon anticon-search">
        <input [(ngModel)]="listSearchValue[0].propertyValue" type="text" nz-input placeholder="用户名称">
      </nz-input-group>
    </div>-->
    <nz-table [nzLoading]="loadingData" [nzFrontPagination]="false" [nzTotal]="listEntities.recordTotalCount" [(nzPageIndex)]="listEntities.currentPageIndex"
      (nzPageIndexChange)="getEntityListAsync(true)" [(nzPageSize)]="listEntities.pageSize" #nzTable #nzFixedHeader nzBordered
      #rowSelectionTable [nzData]="listEntities.entities">
      <thead nz-thead>
        <tr>
          <th style="text-align: center;">
            <span>用户名</span>
          </th>
          <th style="text-align: center;">
            <span>反馈类型</span>
          </th>
          <th style="text-align: center;">
            <span>提交日期</span>
          </th>
          <th nz-th style="text-align: center;">操作</th>
        </tr>
      </thead>
      <tbody nz-tbody style="text-align: center;">
        <tr nz-tbody-tr *ngFor="let data of rowSelectionTable.data">
          <td nz-td>
            <span>{{data.userName}}</span>
          </td>
          <td nz-td>
            <span>{{data.feedbackType}}</span>
          </td>
          <td nz-td>
            <span>{{data.createTime}}</span>
          </td>
          <td nz-td>
            <a (click)="update(data.id)"*ngIf="usertype==0">
              <i class="anticon anticon-edit" ></i>查看详细列表</a>
            <a (click)="update(data.id)"*ngIf="usertype==2||usertype==3||usertype==1">
              <i class="anticon anticon-edit" ></i>修改</a>
            <a (click)="delete(data.id)" *ngIf="usertype==2||usertype==3||usertype==1">
              <i class="anticon anticon-edit"></i>删除</a>
          </td>
        </tr>
      </tbody>
    </nz-table>
    <!-- <nz-modal [(nzVisible)]="isVisiblemm" nzTitle="编辑" (nzOnCancel)="handleCancel()" (nzOnOk)="handleOkmm('success')">
        <nz-form-item >
            <nz-form-label [nzSpan]="6" nzFor="noticeContent111">新密码</nz-form-label>
            <nz-form-control [nzSpan]="14">
                <input placeholder="请填写密码"  type="text" style="width: 260px" nz-input  [id]="personPassword1111" [(ngModel)]="repassword"/> <span style="color: red">*</span>
            </nz-form-control>
        </nz-form-item >
    </nz-modal> -->
  </section>
</nz-spin>